WPM\Includes\Admin\WPM_Bulk_Translate D

Total Complexity 145
Dependencies 2
Dependents 1
Total lines 956
Lines of code 577
Logical lines of code 306
Comment lines 132
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
import_data_from_file()
B
35 22 84
xml_to_array_1_2()
B
43 22 43
xml_to_array_2_1()
B
44 20 41
format_xliff_data()
A
43 11 47
import_translations()
A
47 11 34
perform_bulk_action()
A
42 8 51
generate_xliff_12()
S
42 5 58
render_xliff_groups()
S
44 5 53
parse_bulk_request()
S
55 6 18
load_scripts()
S
58 6 13
add_errors()
S
55 5 19
parse_request_before_redirect()
S
62 5 10
display_form()
S
71 4 5
display_notices()
S
61 3 12
handle_bulk_action()
S
61 3 12
render_import_translations()
S
57 1 20
add_settings_error()
S
68 2 7
generate_xliff_20()
S
59 1 15
generate_xliff_21()
S
59 1 15
init()
S
62 2 10
add_action()
S
75 1 4
__construct()
S
70 1 6